import Layout from '@/layout'
const settingRouter = [
{
  path: '/setting',
  component: Layout,
  name: 'setting',
  redirect: '/setting/userSetting',
  children: [
    {
      path: 'messageSetting',
      meta: { title: '消息设置 - ' },
      component: () => import('@/views/setting/messageSetting/index'),
      name: 'messageSetting'
    },
    {
      path: 'orgSetting',
      meta: { title: '组织设置 - ' },
      component: () => import('@/views/setting/orgSetting/index'),
      name: 'orgSetting'
    },
    {
      path: 'userSetting',
      meta: { title: '账号设置 - ' },
      component: () => import('@/views/setting/userSetting/index'),
      name: 'userSetting'
    },
    {
      path: 'roleSetting',
      meta: { title: '角色设置 - ' },
      component: () => import('@/views/setting/userSetting/roleSetting'),
      name: 'roleSetting'
    },
    {
      path: 'authoritySetting',
      meta: { title: '权限设置 - ' },
      component: () => import('@/views/setting/userSetting/authoritySetting'),
      name: 'authoritySetting'
    },
    {
      path: 'tenementInfo',
      meta: { title: '企业信息 - ' },
      component: () => import('@/views/setting/settingCenter/tenementInfo'),
      name: 'tenementInfo'
    },
    {
      path: 'helpSetting',
      meta: { title: '帮助中心' },
      component: () => import('@/views/setting/helpSetting/helpSetting'),
      name: 'helpSetting'
    },
    {
      path: 'companyCertication',
      meta: { title: '认证信息' },
      component: () => import('@/views/setting/settingCenter/companyCertication'),
      name: 'companyCertication'
    },
    {
      path: 'channelSetting',
      meta: { title: '渠道设置 - ' },
      component: () => import('@/views/setting/channelSetting/channelSetting'),
      name: 'channelSetting'
    },
    {
      path: 'h5Setting',
      meta: { title: 'H5设置 - ' },
      component: () => import('@/views/setting/channelSetting/h5Setting'),
      name: 'h5Setting'
    }
  ]
},
{
  path: '/logManagement',
  component: Layout,
  name: 'logManagement',
  redirect: '/logManagement/index',
  children: [
    {
      path: 'logSetting',
      meta: { title: '日志设置' },
      component: () => import('@/views/logManagement/logSetting'),
      name: 'logSetting'
    },
    {
      path: 'logSearching',
      meta: { title: '日志查询' },
      component: () => import('@/views/logManagement/logSearching'),
      name: 'logSearching'
    },
    {
      path: 'jobSearching',
      meta: { title: '任务调度' },
      component: () => import('@/views/logManagement/jobSearching'),
      name: 'jobSearching'
    },
    {
      path: 'jobLogMonitor',
      meta: { title: '调度日志' },
      component: () => import('@/views/logManagement/jobLogMonitor'),
      name: 'jobLogMonitor'
    }
  ]
},
{
  path: '/printSetting',
  component: Layout,
  name: 'printSetting',
  redirect: '/printSetting/index',
  children: [
    {
      path: 'billPrinterBrandSet',
      meta: { title: '打印机管理' },
      component: () => import('@/views/setting/printSetting/billPrinterBrandSet'),
      name: 'billPrinterBrandSet'
    },
    {
      path: 'billPrinterBindStore',
      meta: { title: '商户打印配置' },
      component: () => import('@/views/setting/printSetting/billPrinterBindStore'),
      name: 'billPrinterBindStore'
    },
    {
      path: 'billLayoutRule',
      meta: { title: '收银小票设置' },
      component: () => import('@/views/setting/printSetting/billLayoutRule'),
      name: 'billLayoutRule'
    },
    {
      path: 'billLayoutTemplate',
      meta: { title: '打印模板设置' },
      component: () => import('@/views/setting/printSetting/billLayoutTemplate'),
      name: 'billLayoutTemplate'
    },
    {
      path: 'billLayoutTemplateDefine',
      meta: { title: '打印模板详细设置' },
      component: () => import('@/views/setting/printSetting/billLayoutTemplateDefine'),
      name: 'billLayoutTemplateDefine'
    }
  ]
}
]
export default settingRouter
